package com.szeastroc.eureka.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.szeastroc.eureka.config.FeignConfig;


@FeignClient(value="eureka-client",configuration=FeignConfig.class,fallback=HystrixDemo.class)
public interface EurekaClientFeign {

	@GetMapping("/hi/getServerName")
	public String getServerName();
	
}
